Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.collaboration.urlservice--codecs

This contribution is part of XML component org.nuxeo.ecm.collaboration.urlservice inside nuxeo-social-workspace-web-5.8.jar

Documentation

Codec 'docpathcollaboration' used for collaboration tab. Urls are of the form http://site/nuxeo/collaboration/path/to/doc@view?extraargs

Codec 'doccollaboration' used for document url switching between Collaboration or Document Management viewaccording to the context. Urls are of the form: - http://site/nuxeo/collaboration/path/to/doc@view?extraargs - http://site/nuxeo/collaboration/docid@view?extraargs

Extension Point

Extension point codecs of component DocumentViewCodecService.

Contributed Items

  • <documentViewCodec class="org.nuxeo.ecm.platform.url.codec.DocumentPathCodec" default="false" enabled="true" name="docpathcollaboration" prefix="nxcollab"/>
  • <documentViewCodec class="org.nuxeo.ecm.social.workspace.CollaborationCodec" default="false" enabled="true" name="doccollaboration" prefix="collaboration"/>

XML Source

<extension point="codecs" target="org.nuxeo.ecm.platform.url.service.DocumentViewCodecService">

    <documentation>
      Codec 'docpathcollaboration' used for collaboration tab.
      Urls are of the form http://site/nuxeo/collaboration/path/to/doc@view?extraargs

      Codec 'doccollaboration' used for document url switching between Collaboration
      or Document Management viewaccording to the context.
      Urls are of the form:
      - http://site/nuxeo/collaboration/path/to/doc@view?extraargs
      - http://site/nuxeo/collaboration/docid@view?extraargs
    </documentation>

    <documentViewCodec class="org.nuxeo.ecm.platform.url.codec.DocumentPathCodec" default="false" enabled="true" name="docpathcollaboration" prefix="nxcollab"/>

    <documentViewCodec class="org.nuxeo.ecm.social.workspace.CollaborationCodec" default="false" enabled="true" name="doccollaboration" prefix="collaboration"/>

  </extension>